package com.icode.service.house;

import com.icode.core.dto.house.HouseWeekTimeDTO;
import com.icode.core.dto.manager.ReserveDTO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-4-15
 * Time: 上午10:00
 * To change this template use File | Settings | File Templates.
 */
public interface ReserveService {

    ReserveDTO createReserveDTO(String myHouseGuid);

    boolean addReserveDTO(String occupancyName, String IDCard, String phoneNum, String email, String peers, String remarks, String myHouseGuid, String guids);

    List<ReserveDTO> findAllReServe();

    void changeReserveStatus(String status, String guid);

    List<HouseWeekTimeDTO> houseWeekTimeByMonth(String month, String houseWeekGuid, HttpServletResponse response);

    void clearReserve();

    ReserveDTO createReserveDTOForRent(String rentGuid);

    void getWeekTimesByHouseInfoGuid(String houseInfoGuid, HttpServletResponse response);

    List<ReserveDTO> findByMyHouseguid(String myhouseguid);

    List<ReserveDTO> findReserveByUserInfoUsername(String username);
}
